import { Request } from '/@/http/request';
import menuData from './menuData.json';
Request.init();
export function getUserMenu(): Promise<any> {
  return Promise.resolve({ data: menuData });
  //后端请求
  // return Request.axiosInstance({
  //   url: '/getMenuRoute',
  //   method: 'get',
  // });
}
export function login(data: any): Promise<any> {
  return Request.axiosInstance({
    url: '/login',
    method: 'post',
    data: data,
  });
}
